The LONARR function returns a longword integer vector or array.
Result = LONARR( D1 [, ..., D8] [, /NOZERO] )
Returns a long array of the specified dimensions.
Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. Up to eight dimensions can be specified. If the dimension arguments are not integer values, IDL will convert them to integer values before creating the new array.
Normally, LONARR sets every element of the result to zero. If NOZERO is set, this zeroing is not performed and LONARR executes faster.
To create L, a 100-element, longword vector with each element set to 0, enter:
L = LONARR(100)
Original |
Introduced |
BYTARR , COMPLEXARR , DBLARR , DCOMPLEXARR , FLTARR , INTARR , LON64ARR , MAKE_ARRAY , STRARR , UINTARR , ULON64ARR , ULONARR